package com.dragon.graduation.student.controller.dto;

import com.dragon.bean.SerializableDTO;
import com.dragon.util.QueryType;
import com.dragon.util.Search;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.dragon.results.util.response.PageVO;
import lombok.*;

/**
 * <p>
 * 学生表 查询参数对象
 * </p>
 *
 * @author dragon
 * @since 2025-02-28 21:22:17
 */

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
@ApiModel("学生表 查询参数对象")
public class StudentSearchDTO extends SerializableDTO<StudentSearchDTO> {
    /**
     * 学号
     */
    @ApiModelProperty("学号")
    @Search(propName = "studentNumber", type = QueryType.EQUAL,blurry = "")
    private String studentNumber;
    /**
     * 班级
     */
    @ApiModelProperty("班级")
    @Search(propName = "className", type = QueryType.LIKE,blurry = "")
    private String className;
    /**
     * 专业
     */
    @ApiModelProperty("专业")
    @Search(propName = "major", type = QueryType.LIKE,blurry = "")
    private String major;
    /**
     * 学生姓名
     */
    @ApiModelProperty("学生姓名")
    @Search(propName = "studentName", type = QueryType.LIKE,blurry = "")
    private String studentName;
    /**
     * 分页参数
     */
    @ApiModelProperty("分页参数")
    private PageVO page;
}